package com.jy.wms.common.base;

import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author:zzp
 * @Description: Created by Administrator on 2017/8/13.
 * @Date:Create in 21:56 2017/8/13
 */
public interface BaseDao<T extends BaseModel> extends com.baomidou.mybatisplus.mapper.BaseMapper<T> {
    List<baseMenu> getRoleMenus(@Param("array") Integer[] rid);
    List<baseFunction> getFunction(String key, @Param("array") Integer[] rid, @Param("customer") String customer);

    /**
     * 获取所有的菜单  lh
     * @return
     */
    List<baseMenu> getMenus();

    /**
     * 查询菜单下的功能
     * @param
     * @return
     */
    List<baseFunction>functionList(@Param("sscdid") String sscdid);
}
